/**
 *  对象的解构
 *  根据属性名解构，也可以给属性重新命名
 */
var obj = {
  name: 'lo',
  age: 15
}

var {name, age} = obj
var {name: username, address = 'llll'} = obj
console.log(username, address)
//address并不会被加到对象里
console.log(obj.address)
